<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title><?php echo CHtml::encode($this->pageTitle); ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="xgqin@guet.edu.cn">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <?php
	  $baseUrl = Yii::app()->baseUrl;
	  $cs = Yii::app()->getClientScript();
	  Yii::app()->clientScript->registerCoreScript('jquery');
	?>
    <!--link href='http://fonts.googleapis.com/css?family=Carrois+Gothic' rel='stylesheet' type='text/css' --!>
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="<?php echo $baseUrl.'/js/nwmatcher-1.2.5-min.js'?>"></script>
    <script src="<?php echo $baseUrl.'/js/javascript-ie.js'?>"></script>
    <link href="<?php echo $baseUrl.'/css/style-ie.css'?>" rel='stylesheet' type='text/css'>
    <![endif]-->

	<?php
	  $cs->registerCssFile($baseUrl.'/css/bootstrap.css');
	  $cs->registerCssFile($baseUrl.'/css/main.css');
	  $cs->registerCssFile($baseUrl.'/css/ask.css');
	  $cs->registerCssFile($baseUrl.'/css/jquery.slideBox.css');
	?>
	<?php
	  $cs->registerScriptFile($baseUrl.'/js/Ajax.js');
	  $cs->registerScriptFile($baseUrl.'/js/cookies.js');
	  $cs->registerScriptFile($baseUrl.'/js/ask.js');
	  $cs->registerScriptFile($baseUrl.'/js/instrument.js');
	  $cs->registerScriptFile($baseUrl.'/js/nav.js');
	  $cs->registerScriptFile($baseUrl.'/js/bootstrap.js');
	  $cs->registerScriptFile($baseUrl.'/js/main.js');
	  $cs->registerScriptFile($baseUrl.'/js/jquery.slideBox.js');
	  $cs->registerScriptFile($baseUrl.'/js/selectivizr.js');
	  $cs->registerScriptFile($baseUrl.'/js/ajaxfileupload.js');
    ?>
	<!-- configuring ueditor -->
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/scripts/ueditor/ueditor.config.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/scripts/ueditor/ueditor.all.js"></script>
    <!-- configuring jwplayer -->
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/scripts/jwplayer/jwplayer.js"></script>
    <script type="text/javascript">jwplayer.key="cf4AqTTCr9Q485MdGY8S7bWot/kNTILN2ES5sw==";</script>
  </head>

<body>
<section class="main-body">
 <!-- Require the topheader -->
        <?php require_once('tpl_topheader.php')?>

    <div class="container-fluid bodycontent">
            <!-- Include content pages -->
            <?php echo $content; ?>
    </div>
</section>

<!-- Require the footer -->
<?php require_once('tpl_footer.php')?>

</body>
